package net.pinnoocle.playdao.entity.web.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author ye
 * @Description
 * @create 2021-10-28 18:42
 */
@Data
public class UserCouponListPageVo {

    @ApiModelProperty("优惠券id")
    private String userCouponId;

    @ApiModelProperty("优惠券名称")
    private String couponName;

    @ApiModelProperty("面值")
    private Double faceValue;

    @ApiModelProperty("满多少可用")
    private Double fullValue;

    @ApiModelProperty("有效期开始时间")
    private String validStartDate;

    @ApiModelProperty("有效期结束时间")
    private String validEndDate;

    @ApiModelProperty("是否使用 0 未使用 1 已使用")
    private Integer status;

    @ApiModelProperty("生效状态 0 未生效 1 生效 2 已过期")
    private Integer effectStatus;

    @ApiModelProperty("领取时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
}
